package org.esprit.ocm.client.rpc;

import java.util.List;

import org.esprit.ocm.dto.impl.UserDto;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("UserService.rpc")
public interface UserService extends RemoteService {
	
	public UserDto add(UserDto _o);
	
	public List<UserDto> fetch();
	
	public void remove(UserDto _o);

	public int count();
	
	public UserDto authenticate(String login, String pass);

}
